package com.zenchn.service.impl;

import com.zenchn.dao.TMiAccountExtendMapper;
import com.zenchn.dynamic.TMiAccountExtendDynamicMapper;
import com.zenchn.generic.GenericDao;
import com.zenchn.generic.GenericServiceImpl;
import com.zenchn.model.TMiAccountExtend;
import com.zenchn.model.TMiAccountExtendExample;
import com.zenchn.service.AccountExtendService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

/**
 * 用户扩展信息Service实现类
 *
 * @author dingxinfa
 * @date 2020-04-16
 */
@Service
@Transactional(rollbackFor = Exception.class)
public class AccountExtendServiceImpl extends GenericServiceImpl<TMiAccountExtend, String, TMiAccountExtendExample> implements AccountExtendService {

    @Resource
    private TMiAccountExtendMapper accountExtendMapper;

    @Resource
    private TMiAccountExtendDynamicMapper accountExtendDynamicMapper;

    @Override
    public GenericDao<TMiAccountExtend, String, TMiAccountExtendExample> getDao() {
        return accountExtendMapper;
    }

}
